package org.example;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author liukaihao
 * @date 2025/03/03
 */
@AllArgsConstructor
@NoArgsConstructor
public class Book {
    /**
     * 图书编号
     */
    public String id;
    /***
     * 书名
     */
    private String title;
    /***
     * 作者
     */
    private String author;
    /***
     * 出版社
     */
    private String publisher;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }
}
